package com.glsc.ngateway.common.api.flowable.dto.task.doTaskParam;

import com.glsc.ngateway.common.api.flowable.dto.param.DoTaskCommentDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author xuchang
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
public class AbstractRejectParamDto {

    @ApiModelProperty(value = "流程实例ID")
    protected String processId;

    @ApiModelProperty(value = "任务ID")
    protected String taskId;

    @ApiModelProperty(value = "流程定义key")
    private String processDefinitionKey;

    @ApiModelProperty(value = "任务处理节点标识，必填，如applyTask，即流程定义文件中的：userTask id=applyTask")
    protected String taskDefinitionKey;

    @ApiModelProperty(value = "回退至目标")
    protected String targetTask;

    @ApiModelProperty(value = "评论附言")
    protected DoTaskCommentDto commentDto;

    @ApiModelProperty(value = "流程名称")
    String processTitle;

}
